fixed function call parsing

test plan: make test