changed validate to csv
fixed merge issues