delete some objects from layer by id