changed default corrupt value to zero