fix illegal syntax