fix changing template file name in panel theme