backend fix display photo bug fix