AP shows wrong RPM on gas engine

Hi there! Have a plane with gas engine (DLE) and enabled ICE in AP. Everything works great exept RPM. I have set up all the parameters correctly and in some days AP shows correct RPM and everything works fine, but on other days it shows absolutely incorrect numbers. This happens completely by accident and it is unclear what it depends on. Has anyone seen such a problem?