fixed chat photo problem