Fix console logging incorrect info