normalize category attributes