fixed a filetype bug