fix maxfilesize test