small bug fix, changed hash to long long