Fix hash routing bug