fixed photo deleting url