fix the issue that when installing, user cannot select installation type.