remove ruby 2 specific feature