disable auto open of controls, fix undefined error