fix keepalivemessage