corrected undo exception in CreateStackCmd