disable shares whif they are not defined