fixed parse buffer issue