changed execute sequence of the custom action.