fix data layers switcher