categories edit fixes