fixed generator require