Fix label type npe.