fixed for new apple date format