switch title and url