fixed for boolean2