fixed a bug with unset scope on select change