fix ruby mod snippet