fix this, actions is not an array for GuardActions objects