delete head error