delete of type element