fix missing escape characters