fixed bug with USB buffer lost