try to fix date parse bug