autogen image fix.