fix for travis and ruby 1.8.7

all tests passed