fix keyfile change