fixed pre_install