add NewAction and ErrorAction