fixed bug with simple date format