removed a wrong function call and a old console.log