remove restricted template names