fix deleteContents (=> and copy past)