fix before_install.