fixed CSV reading