bug fix

1. IsVaildDate miss one array
2. simulation bug fix