fixed formatting issue for index