fix sometimes install error