diff --git a/scripts/patches.sh b/scripts/patches.sh
index 7af8a1e..4800fe3 100644
--- a/scripts/patches.sh
+++ b/scripts/patches.sh
@@ -79,7 +79,7 @@ case $status_page in
sed -i $line_number_FV' a klever1988/nanopi-openwrt '$strDate $status_page
;;
*js)
- line_number_FV=`grep -m1 -n 'corelink' $status_page | cut -d: -f1`
+ line_number_FV=`grep -m1 -n 'var fields' $status_page | cut -d: -f1`
sed -i $line_number_FV' i var pfv = document.createElement('\''placeholder'\'');pfv.innerHTML = '\''klever1988/nanopi-openwrt '$strDate"';" $status_page
line_number_FV=`grep -n 'Firmware Version' $status_page | cut -d : -f 1`
sed -i '/Firmware Version/d' $status_page