fixing problem where sub gallery name is displayed encoded