removing unnecessary packages