fix csv reading
make event test work