remove pathological tokens