fix client chart and add delete contract function