fix bug:handler re init error.
Merge pull request #389 from forumbyr/master

fix bug:handler re init error.