Another attempt at fixing index layout at md