made adjustments to unwrap the minion index correctly