Remove unneeded contents