safer ignorelabels handling