removed attributes that were in layer