photo edit bug fixed