Updated error messages
Fixed removal of resources in a group and master/slave