fixed Buffer.Trim() bug