track two error cases