fix problem after board deletion