Fix bug with child routes