Fixed bugs in parse-objects