Remove useless brackets and semicolons.