improve ruby indent and format