made item and group URL dynamic