Fix photo factory