fixing file issues