remove stray characters in fileuploader