Fixed bug: duplicate categories