fix bug insert detailcommande