end of files fixed