Fixing autogen extension