fix many parsing bugs according to pointedObjects