fix console logs