fix bad files