Spyce syntax error: unbalanced close brace '}'