fixing console logs