integrity check fix