Fix bug on valid route