category edit bugfix