Fixed semicolon and removed unneeded variable