fixed Date cast error, fixed save error