Fixed some process detecting bugs