fix command log print