tensors fix