Add missing semicolon and spaces