delete a couple of objects from a layer