I see your error, it’s quite simple to fix.
If you properly format your code, then I could tell you the line number it is on and suggest a potential fix.
If you post a code snippet, ALWAYS USE CODE TAGS:
How to use code tags: Using code tags properly
You may edit your post above.