fixed issue with errors not being removed after form is submitted a second time, fixed occurred at so that it has a class of datepicker