cleanup default factory