add handling of bool in select boxes