fixing for non-numeric labels