fix autogen warn, fixed by Roman, reviewed by miked