fixed file size bug