fix specs
ruby 1.8 support