delete court trigger fixed