remove an unused boolean