make sure alternative ports get converted to int
make sure alternative ports get converted to int