before deleting setContent