Fix admin template issue