set laststatus