Make pmapdomain work correctly with list input oldx