IE8 throw error on delete

IE8 throw error on delete