foreach statement cannot operate on variables of type '%1!ls!' because it implements multiple instantiations of '%2!ls!'; ...