Fixed warnings in server