UTILS: metadata shuffle