fix the hash comparison functionality...whoops!