remove unneeded content