fixed bug with file sizes