fix for missing resource id when changing owner/group