run each target only once