Fix doc
Fix 'Invalid date' bug