Corrected inputdatalatch