remove extraneous var
remove unnecessary semicolons