fixes new error on photo delete partial