finish cxLayer