use the last element as url