removing unnecessary committed data