install_generator: fixed wrong method name