fixing formatting error on layout index