fix display in medium type