removing misnamed templates