get default values working for controls