cleanup in label.xql