correcting autogen kimfiles