not displaying everything properly on index