fixed tracking of mc running shell