remove unnecessary semicolons