Made transmite/receive path chunks global / bug fixes