some changes with delete tresh