fix of namepairs