filetype correction