prevent error when no class exists