Improve process check