diff --git a/cmake_targets/tools/build_helper b/cmake_targets/tools/build_helper
index 559c3a2dcf19db0113a5355f9238a0ca28de4a13..4b0ea9cc6b7fe7fe8cca45a726b54eaead84d111 100755
--- a/cmake_targets/tools/build_helper
+++ b/cmake_targets/tools/build_helper
@@ -678,9 +678,12 @@ install_asn1c_from_source(){
     (
     $SUDO rm -rf /tmp/asn1c
     # GIT_SSL_NO_VERIFY=true git clone https://gitlab.eurecom.fr/oai/asn1c.git /tmp/asn1c
-    git clone https://github.com/brchiu/asn1c /tmp/asn1c
+    git clone https://gitlab.eurecom.fr/oai/asn1c.git /tmp/asn1c
     cd /tmp/asn1c
-    git checkout velichkov_s1ap_plus_option_group
+    # better to use a given commit than a branch in case the branch
+    # is updated and requires modifications in the source of OAI
+    #git checkout velichkov_s1ap_plus_option_group
+    git checkout ec830d70bbb014b769810355a2f321a91ccd8a58
     autoreconf -iv
     ./configure
     make -j`nproc`