format url for groups fix