revert the if