Fixed date format exception