removing unused packages and cleaning provisioning errors