fixed submition of category edit