fixed syntax errors in et-local (implicitly declared variables and improperly terminated statements