small fixes for routes