fix escaping setfields