Fix admin template not found bug