Use cached variable, add semicolon.
Merge pull request #43 from Daniel-Hug/patch-1

Use cached variable, add semicolon.