fix categories merge