Changed template to fix double category issue