errors in error handling.