Fixed type errors in action.pp