fix ruby case