fix typo: package fn is in pallet.actions, not pallet.action