small fix for minion command bug