debugging base layer switch