put index md where it belongs