* Fixed wrong function being called by action hook