fixed references in Body.prototype.sleepWithGroup