fixed bug in mito_shuffle