fix keepalive