fixed boolean signature issue