fixed dpp and generation