updated action class.
fixed action