Fix offsets for md and lg
fmt