consistency check fixed
c