Fix routes array