hopefully fixes hash sometimes not working