fixed photo delete