fixed warning
connected server sig handler