fix inheritance generation problem