fixed autogen