remove bool function from vector