FIXED: failed to get a filetype