fixing server route config