Fix process monitoring