dmq generator fix