remove unneeded stuff.