fix before_install script