Bug fixing: trimming values returned by csv library calls