fixed merge in index