Fix SyntaxError: unexpected colon.

 Session-monitor did not work because of this bug.