fix choosing the hash algorithm for new users