fix error with server commands