fix heartbeat bug
add comment for heartbeat bug