fix for broken class name inheritance