fixing some medium display issues.