fixed visibility of template selector