router tweaks, fixed one bug for sidebar