fixed bug in new/edit category functionality