added missing semi colons and fixed space/tab differences