fixed label-related warnings