fixed bug where ack blocks were written as message blocks