fixed functionality for datepicker and country address fields