allows null as escaper parameter