fixed partial route handling in routes command