Update WrapAction()
- I dun did broked it :P

Signed-off-by: John Rayes <live627@gmail.com>
Merge pull request #1785 from live627/hooks

Update WrapAction()