errors and actions