Insert missing semicolon

Refactored code works fine except the one missing semicolon.