FIX: urlencode in links