work with layer editcategory