fix get object bug