delete rect & control