remove ruby 1.8 patch
minor refactoring