fix a big, this was only checking half of the file. now it checks all