fix bug for proxy tpye.
add some code.
complete export.