minor tweaks to databinding code.