Use element.trash! instead of element.trash