errors update and useless packages removed