bug fix
output to csv