getClass add check if class is loaded from __autoload