Fixed bug with CSV