remove memory status function