Fix a bug with Wox.targets