wrong determining of compiled state