handle null labels