fix some ruby