bug fix in FileSizeMax checks