remove redundant index from frontpag eof magrespython