fixed edit categories