right checking for action's errors