add
fix error and file print format