file position fix