handle multiple ids in a url