fixed bug with link scan not finding anything and replaced last iniread with f_iniread