Another annoying bug in generate SH class