revert before_install changes