Fix to check process when capture.