debug of MCCardDelegate
fixed some bugs