handle ruby formatting better