handle fragment ids