wrong parameter when constructing TargetLocator