Fixed mistakes with semicolons