remove unneccessary packages