fix condition of admin template prefix