revert to previous commit