a little improvement in stop main and change to public cloud server