fix delete triva bug