fix stupid type
fix issues with unparseable file type