Fixed bug in csv load script