check subclass if custom class name