fix deprecated warnings of the server