improved process check