fixed format date error