fix hash change for IE