Fix extender reset and buffer initialize bugs.