fixed compile error caused by regenerating CS code