fix the creation of new targets