fix keepalive warning