fix action error display in action route