Minor factory fix