fixes compiler error on mandatory generate