fix for non utf8 urls