fix bug with escaping urls