added fipossible bug fix for hasing