revert change if to build