modify install guard