Fixed a bug caused by illegal syntax