fix generated