fixed missing dependency error, removed unnecessary console.log