Fixed semicolon issue and spacing issue