remove forgotten console.log and add missing semicolons