fix surface porosity