Correcting a bug extracting excessive mass at inner boundaries