Fixed some variables for checksum lookups