add bucket integrity check