fix an format bug and add an another example