fix checksum problem
fix compilation error
fix initialization parameter