Fix bug: check process-exist