fixed a silly but critical mistake
extended ParseObj