Fixed date parse bug