Moved bodies cleanup to dealloc
Fixed error