Fix lexical errors