fix for escaping strings