fix: splice -> sam; hosts -> groups