remove some command in before_isntall