fixing layout on (automated)index