fix photo problem