small fixes to router