fixes url escaping