restore from broken checkout