tweaks to make the boolean values work.