support pair type arg for eval function