fixes Auto Gen Class