remove reference to boolean