Fixed bug with getconetarget()