detect error in first line of sites.txt