remove duplication and reverse routeStyles array