fix delete contents option