fixed the hash() arguments being reversed