fixes font overflow issues.