fix filetype setting