fixed missing and extraneous semicolons