fix install_generator