Fixed problem with object refference parsing