fix set keepalive