code cleaning: remove console.log