fix heartbeat task create bug