diff --git a/build/with_fcm/make_fcm.sh b/build/with_fcm/make_fcm.sh
index b35776607618964a538c8c2d105a5b0448c6f193..df2d7cd9efab89d42d69d7c86f23aa836e450852 100755
--- a/build/with_fcm/make_fcm.sh
+++ b/build/with_fcm/make_fcm.sh
@@ -57,7 +57,7 @@ function check_install_fcm() {
     cd fcm
     rm -f .gitkeep
     git clone https://github.com/metomi/fcm.git .
-    git checkout tags/$fcm_version
+    git checkout $fcm_version
     touch .gitkeep
     cd ..
     echo "...FCM installation done"