custom classes subclassing bugfix
removed unused line