fixed csv input bug
fixed layout