Remove ruby warnings