move fseek call