revert to previous key