fix. Truncate mBuffer after use.