escape $ in config