fix bug in select machines in checkout