fixing null for using csv not stdin