fix boolean dropdown bug