Fixing categories edit