Fix to isSyntaxGood

To account for white space