fix quoting in functions (again)