cleaning up csv input