make url more generic