key file fix