fixes a bug relating to target options persisting between targets
v1.1.1