fixes file type indicator