attempting to fix console logging