change select to fields