Fixed small bug when selecting different apiserver