validate address input