karui fix
fix bug when destination is unreachable.