fix bug so that we can cp make bundles containing a single target