style fixes for ruby code