Fixing remove planes.