fix ruby warnings
fix ruby warnings
fix ruby warnings