Stable releation,fix some bugs.

Stable releation,fix some bugs.