fixed a bug: remove unwanted `console.log`