Fix up category template