fix some bugs for action