added minor fixes to margin