fix the exchange photo errors