fix error from potentially bad file