changes in __str__ of Factor