add escape characters