restore after bad commit