fix error with file size