in the cases where factory class or factory service get to return empty i think we have to accommodate the method to don't set those fields i believe no?