Fixed calling parser function