escaping ws data