fix the filetype uploaded