fix heartbeat block