attempt to fix string escaping