corrected random selection of servers