Curly brace syntax error