Fix hashing bugs on mobile side