updated for hash fix