Fix syntax error on thought