fix for file type