Fixing equations and margins