Fixing a bug with filling in factors
Fixing a bug with filling in factors