better csv error reporting