fixed some csv issues