fix reverse option for random hosts