fixed issue with multiple transactions in one block