fix how label is determined