Possible syntax fix (but I'm probably missing more - why am I coding huge blocks on a mobile without even basic syntax highlighting?)