fix bug for clear isError5
fix indent
Merge pull request #3 from oJunShiotsuka/master

add to clear isError5 flag.