modifies escaped characters