No.8 bug fixes
input check correction
No.12 bug fixing