fix a type bug in scopes.rb, bump version