modify bug about keepalive