Fixes brackets order in console.log function.