fix keepalive options and small typo