fixing bug with redirection, branch track_visit
add visit count, and complete fixing huge bug regrading reactivity