add multi targets support