extra fix to integrity check