Fixed the error generated by the server class