Stats error handling