Avoid duplicated capturing