forgot not equal check in get upstream hash