remove status function