minor edit in uaigenerator