clean up status processing