inaccurate altitude measurement

After updating to 21.18, the barometric altimeter does not work properly. Either I have too little gear after the ride or too much gear. It happens that I'm going uphill and according to the altimeter it shows that I'm going downhill. It automatically calibrates the altitude before each ride. Does anyone have the same problem. Or do I have a broken Edge?