diff --git a/extractor/get_atm_from_repo.sh b/extractor/get_atm_from_repo.sh
index f09c81242a6a6b1c29c5c248a3c2fbb281e21da0..7f6fbba210caeb500934f7f5725ef18ccd72aed6 100755
--- a/extractor/get_atm_from_repo.sh
+++ b/extractor/get_atm_from_repo.sh
@@ -66,10 +66,10 @@ for m in $(seq -w 1 12); do
 		echo "Failed to retrieve $file"
 	fi
 done
-	if [ "$n" -eq 12 ]; then
-		echo "Success retrieving site:${site} for year:$year"
-	else
-		echo "Failed to retrieve some files. $n files extracted"
-		echo "Perhaps files does not be already produced. Please check at https://github.com/lagoproject/atmospheres/"
-		exit 99
-	fi
+if [ "$n" -eq 12 ]; then
+	echo "Success retrieving site:${site} for year:$year"
+else
+	echo "Failed to retrieve some files. $n files extracted"
+	echo "Perhaps files does not be already produced. Please check at https://github.com/lagoproject/atmospheres/"
+	exit 99
+fi