fix bug in oaiset generation