initial attempt to fix issue #60

The syntax error now only occurs on certain related sites so this seems
like a step in the right direction.