Fixing photo delete