fixed the router bug again