changed input format for location to select tag