targets are optional lists, close #625