Data check done.

And the program has been cleaned.
Bugs fixed