Appended some semi-colons and modified a bit.

Hi, I'm Yoichiro Tanaka. I would like to send this pull request to improve some lines.
Thank you for your confirmation.