end of file sync fixed.