fix bug with delete from date string