fixed category duplicate issue