fix generated file