cleanup ruby warnings