fix some error on server installation.