routing is working now(bug fix)