fix bug for process status