fix server warnings