Fix margins for SD