standardizing labels and categories