fix old school hash