fixed console.logs