Remove unnecessary data