don't keep the temporary frames from the head and tail call