fix minion id generation