proper fix to namespace hack

The answer is to use hash quoting for functions. Thanks Arthur!