fix argument error
improved display heartbeat