minor fixes

capped True and False