fixed nested route rendering issues