Fix references margins