removed all the extra date-type string from datepickers