fixes ping type selection for any host