fixed tiny bug twith router