Corrected the margin controller.