fix for tab-layer