revert logic to behave as before