fixes to get more of the file