datepicker & settings view fix