Fixed unit ref in action class

Signed-off-by: Tom Wright <tom@inflatablecookie.com>