removed misplaced logging, and make the parser actually return parsed result