fixed local tx_buffer head pointer issue
merge with github