fix bug with error class and datepicker change
ac autofocus feature