fixes bug - now sets delete content