made little changes to factories and listing controller