finalize delete contents option