fix categories creation