Syntax function application problems fixed