fix key ordering in interpolation case