fix of the UIgenerator