prevent ClassNotFound exception for emtpy class name