second ruby fix