minor fixes deletion of bricks