avoid hash collision in query result