checkintegrity=TRUE flag fails