fixed categories item delete bug