fixed router to route also with static buid