Delete unnecessary data