Correct the margin type