fix server command errors