margin consistency fix