improved datepicker display and "security"