changes for photo removing