missing mode-lines, stray semi-colons

Change-Id: I89fc2b0385cebbf5c629e67fa89ba1dd30486f35