fixed cancel install method