reset location.hash when it contains odd characters