debugged some checksumm