minor formatting fixes
rely on explicit checksum instead of using dirty bit