fixed bugs in metagenome move function