Clean up the layer