change named tuple for py27