small adjustment

output format and remove redundant.