Fixed bug from function name changes.
Fixed a bug caused by the aciton name changes.