wrap actions with messages