fix the bug which can not reinstall the client