fixed half broken cached package reinstall