fix wrong scope