Fixes execution of actions.