fixed can not install nginx and repeat the installation