Fixes console logs