Remove index_formatted and fix bug #10