bad dateFormat issue fixed