fix remove head