fix server lint
fix and add sloc for server