fixed wildcard usage if target is different to source