fixed format issue and persistence issue

file len changed to 100.
sys format need to use diff routine...