Small bugfix to router