remove warnings on unnecessary packages