get rid of unneeded stuff