patch to fix taxonomy editing bug