fix pointedObject bug