remove unused HeartbeatLayer
improve heartbeat signal