Bug fix, "fulltarget" not defined before use in some cases