fix getClassName() for panel