fixed bug with more than 1 message per block