fix function head parsing, clarify binding