edit select all to 2 dimension array