Added missing initialisation of chksum