fixed Pico buffer mem-leak