get obj by class name