updata with a bug, cant clear every time