fixed api and static routes