fix server interface