fix wg cat delete and wg item create and edit