Fixing rank breaking for panels