fixed bug for displaying datetimes
fixed bug with delete button