Fixed additional errors with console.