fix check_hash not returning true