fix create category with miss index template