fix weird file situation