normalize labels