fix "subclass of ember.c" bug