removed uncommented code
corrected bug when have no location it is left selected even though
alert if net is not working
modified