fix for filetype case