fixed toolbar add controls bug