Fixed the CSV Parser function