fix the bet vallid and checkpoint bug.........
Merge remote-tracking branch 'remotes/spark/workspace'