add patchs of fixing the setup crash