attempt to fix photo deletion errors