remove ruby 1.9+ only syntax