buffer fix: it was parsing only one mwssage on wch batch received