need to debug tri-layer issue