reseting to previous commit