fixing for non-numeric labels
fixing for non-numeric labels