refactoring

added missed semicolons