Fixed the formatting when there are many columns