fix hashchange event
fix hashchange function, + add controller event