fix get superClass bug. Closes #8