remove extra boolean