Fix route loading order