fix issue to pass selected town name and not value for primary town